package com.hkts.management.unattended.inventory.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 物料档案
 * </p>
 *
 * @author yck
 * @since 2021-09-16
 */
public class HktsInventory extends Model<HktsInventory> {

private static final long serialVersionUID=1L;

    /**
     * 主键
     */
                            private String id;
    /**
     * 物料编码
     */
    @TableField("cInv_code")
        private String cinvCode;
    /**
     * 物料名称
     */
    @TableField("cInv_name")
        private String cinvName;
    /**
     * 规格型号
     */
    @TableField("cInv_std")
        private String cinvStd;
    /**
     * 主计量
     */
        private String cComUnitCode;
    /**
     * 副计量
     */
        private String cAssComUnitCode;


    public String getId(){
            return id;
            }

        public void setId(String id) {
            this.id = id;
            }

    public String getCinvCode(){
            return cinvCode;
            }

        public void setCinvCode(String cinvCode) {
            this.cinvCode = cinvCode;
            }

    public String getCinvName(){
            return cinvName;
            }

        public void setCinvName(String cinvName) {
            this.cinvName = cinvName;
            }

    public String getCinvStd(){
            return cinvStd;
            }

        public void setCinvStd(String cinvStd) {
            this.cinvStd = cinvStd;
            }

    public String getcComUnitCode(){
            return cComUnitCode;
            }

        public void setcComUnitCode(String cComUnitCode) {
            this.cComUnitCode = cComUnitCode;
            }

    public String getcAssComUnitCode(){
            return cAssComUnitCode;
            }

        public void setcAssComUnitCode(String cAssComUnitCode) {
            this.cAssComUnitCode = cAssComUnitCode;
            }

    public static final String ID ="id";

    public static final String CINV_CODE ="cInv_code";

    public static final String CINV_NAME ="cInv_name";

    public static final String CINV_STD ="cInv_std";

    public static final String C_COM_UNIT_CODE ="c_com_unit_code";

    public static final String C_ASS_COM_UNIT_CODE ="c_ass_com_unit_code";

@Override
protected Serializable pkVal(){
            return this.id;
        }

@Override
public String toString() {
        return "HktsInventory{" +
                ", id=" + id +
                ", cinvCode=" + cinvCode +
                ", cinvName=" + cinvName +
                ", cinvStd=" + cinvStd +
                ", cComUnitCode=" + cComUnitCode +
                ", cAssComUnitCode=" + cAssComUnitCode +
        "}";
        }
        }
